package com.example.shop.rabbitmq.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Map;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class InventoryDetect {
    private Long goodsId;
    private Map<String,Integer> inventoryMap;

    @Override
    public String toString() {
        return "InventoryDetect{" +
                "goodsId=" + goodsId +
                ", inventoryMap=" + inventoryMap +
                '}';
    }
}
